<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改【请填写功能名称】')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-status-edit" th:object="${wmsCustomerStatus}">
            <input name="oCid" th:field="*{oCid}" type="hidden">
<!--            <div class="form-group">    -->
<!--                <label class="col-sm-3 control-label">${comment}：</label>-->
<!--                <div class="col-sm-8">-->
<!--                    <input name="oCid" th:field="*{oCid}" class="form-control" type="text" required>-->
<!--                </div>-->
<!--            </div>-->
            <div class="form-group">    
                <label class="col-sm-3 control-label">状态：</label>
                <div class="col-sm-8">
                    <div class="radio-box">
                        <input type="radio" name="oStatus" value="未出库" required>
                        <label th:for="oStatus" th:text="未出库"></label>
                    </div>
                    <div class="radio-box">
                        <input type="radio" name="oStatus" value="已出库" required>
                        <label th:for="oStatus" th:text="已出库"></label>
                    </div>
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script type="text/javascript">
        var prefix = ctx + "wms/status";
        $("#form-status-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-status-edit').serialize());
            }
        }
    </script>
</body>
</html>